package com.lottery.entity;

import java.io.Serializable;
import java.util.Date;

// 账户流水表

public class AccountTransaction implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6097735262165307895L;

	private int id;// 主键ID
	private Integer accountId;// 账户id
	private String orderId;// 订单号
	private String expect;// 期号
	private Date transactionDate;// 账户变动时间
	private double transactionMoney;// 账户变动彩砖
	private double money;// 账户变动金额
	private int transactionType;// 账户变更类型(充值1,提现2,购彩3,中奖4)'
	private String moneySources;// 资金来源
	private String moneyGo;// 资金去向
	private double fee;// 手续费
	private int bettingId;// 彩券下注id
	private String remarks;// 备注
	private int cashType;// 提现渠道类型
	private String cashAccout;// 提现账号
	private String cashName;// 提现姓名
	private int state;// 订单状态（处理中0，成功1，失败2，未知3）
	private String realTransferMoney; // 真实转账金额
	private String aliFee;
	private String aotoTransferId;
	private int operator;
	private String finishTime;
	private Integer agencyMark;//渠道商标识
	private double accountFunds;//账户余额

	public double getAccountFunds() {
		return accountFunds;
	}

	public void setAccountFunds(double accountFunds) {
		this.accountFunds = accountFunds;
	}

	public Integer getAgencyMark() {
		return agencyMark;
	}

	public void setAgencyMark(Integer agencyMark) {
		this.agencyMark = agencyMark;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Integer getAccountId() {
		return accountId;
	}

	public void setAccountId(Integer accountId) {
		this.accountId = accountId;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getExpect() {
		return expect;
	}

	public void setExpect(String expect) {
		this.expect = expect;
	}

	public Date getTransactionDate() {
		return transactionDate;
	}

	public void setTransactionDate(Date transactionDate) {
		this.transactionDate = transactionDate;
	}

	public double getTransactionMoney() {
		return transactionMoney;
	}

	public void setTransactionMoney(double transactionMoney) {
		this.transactionMoney = transactionMoney;
	}

	public int getTransactionType() {
		return transactionType;
	}

	public void setTransactionType(int transactionType) {
		this.transactionType = transactionType;
	}

	public String getMoneySources() {
		return moneySources;
	}

	public void setMoneySources(String moneySources) {
		this.moneySources = moneySources;
	}

	public String getMoneyGo() {
		return moneyGo;
	}

	public void setMoneyGo(String moneyGo) {
		this.moneyGo = moneyGo;
	}

	public double getFee() {
		return fee;
	}

	public void setFee(double fee) {
		this.fee = fee;
	}

	public int getBettingId() {
		return bettingId;
	}

	public void setBettingId(int bettingId) {
		this.bettingId = bettingId;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public int getCashType() {
		return cashType;
	}

	public void setCashType(int cashType) {
		this.cashType = cashType;
	}

	public String getCashAccout() {
		return cashAccout;
	}

	public void setCashAccout(String cashAccout) {
		this.cashAccout = cashAccout;
	}

	public String getCashName() {
		return cashName;
	}

	public String getRealTransferMoney() {
		return realTransferMoney;
	}

	public void setRealTransferMoney(String realTransferMoney) {
		this.realTransferMoney = realTransferMoney;
	}

	public String getFinishTime() {
		return finishTime;
	}

	public void setFinishTime(String finishTime) {
		this.finishTime = finishTime;
	}

	public void setCashName(String cashName) {
		this.cashName = cashName;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "AccountTransaction [id=" + id + ", accountId=" + accountId + ", orderId=" + orderId + ", expect="
				+ expect + ", transactionDate=" + transactionDate + ", transactionMoney=" + transactionMoney
				+ ", money=" + money + ", transactionType=" + transactionType + ", moneySources=" + moneySources
				+ ", moneyGo=" + moneyGo + ", fee=" + fee + ", bettingId=" + bettingId + ", remarks=" + remarks
				+ ", cashType=" + cashType + ", cashAccout=" + cashAccout + ", cashName=" + cashName + ", state="
				+ state + "]";
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public String getRealtransfermoney() {
		return realTransferMoney;
	}

	public void setRealtransfermoney(String realTransferMoney) {
		this.realTransferMoney = realTransferMoney;
	}

	public String getAliFee() {
		return aliFee;
	}

	public void setAliFee(String aliFee) {
		this.aliFee = aliFee;
	}

	public String getAotoTransferId() {
		return aotoTransferId;
	}

	public void setAotoTransferId(String aotoTransferId) {
		this.aotoTransferId = aotoTransferId;
	}

	public int getOperator() {
		return operator;
	}

	public void setOperator(int operator) {
		this.operator = operator;
	}

}
